package gov.pbc.gx.nn.pz.entity;

import javax.persistence.*;
import com.bstek.dorado.annotation.PropertyDef;

/**
 * hc_tcpjjhceqs:
 */
@Entity
@Table(name = "HC_TCPJJHCEQS")
public class HcTcpjjhceqs extends VoucherBaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 清算行账号:清算行账号
	 */
	@PropertyDef(label = "清算行账号", description = "清算行账号:清算行账号")
	@Column(name = "QS_USERNAME_", length = 512)
	private String qsUsername;

	/**
	 * 清算行名称:清算行名称
	 */
	@PropertyDef(label = "清算行名称", description = "清算行名称:清算行名称")
	@Column(name = "QS_NAME_",length = 512)
	private String qsName;

	/**
	 * 大写金额:大写金额
	 */
	@PropertyDef(label = "大写金额", description = "大写金额:大写金额")
	@Column(name = "AMOUNT_ZH_", length = 512)
	private String amountZh;

	/**
	 * 小写金额:小写金额
	 */
	@PropertyDef(label = "小写金额", description = "小写金额:小写金额")
	@Column(name = "AMOUNT_NUM_",length = 64)
	private Double amountNum;
	
	/**
	 * 小写金额符号:小写金额符号
	 */
	@PropertyDef(label = "小写金额符号", description = "小写金额符号:小写金额符号")
	@Column(name = "ISSIGN_")
	private Integer issign;

	/**
	 * 清算行交换号:清算行交换号
	 */
	@PropertyDef(label = "清算行交换号", description = "清算行交换号:清算行交换号")
	@Lob
	@Basic(fetch = FetchType.EAGER)
	@Column(name = "QS_DEALNUMBER_",length = 120)
	private String qsDealNumber;

	/**
	 * 交换场次:交换场次
	 */
	@PropertyDef(label = "交换场次", description = "交换场次:交换场次")
	@Column(name = "DEAL_NUM_", length = 64)
	private Integer dealNum;

	/**
	 * 借贷标记:借贷标记
	 */
	@PropertyDef(label = "借贷标记", description = "借贷标记:借贷标记")
	@Column(name = "LEND_TAG_", length = 5)
	private String lendTag;

	public HcTcpjjhceqs() {
		super();
	}

	public String getQsUsername() {
		return qsUsername;
	}

	public void setQsUsername(String qsUsername) {
		this.qsUsername = qsUsername;
	}

	public String getQsName() {
		return qsName;
	}

	public void setQsName(String qsName) {
		this.qsName = qsName;
	}

	public String getAmountZh() {
		return amountZh;
	}

	public void setAmountZh(String amountZh) {
		this.amountZh = amountZh;
	}

	public Double getAmountNum() {
		return amountNum;
	}

	public void setAmountNum(Double amountNum) {
		this.amountNum = amountNum;
	}

	public Integer getIssign() {
		return issign;
	}

	public void setIssign(Integer issign) {
		this.issign = issign;
	}

	public String getQsDealNumber() {
		return qsDealNumber;
	}

	public void setQsDealNumber(String qsDealNumber) {
		this.qsDealNumber = qsDealNumber;
	}

	public Integer getDealNum() {
		return dealNum;
	}

	public void setDealNum(Integer dealNum) {
		this.dealNum = dealNum;
	}

	public String getLendTag() {
		return lendTag;
	}

	public void setLendTag(String lendTag) {
		this.lendTag = lendTag;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	public String toString() {
		return "HcTcpjjhceqs [qsUsername=" + qsUsername + ", qsName=" + qsName
				+ ", amountZh=" + amountZh + ", amountNum=" + amountNum
				+ ", issign=" + issign + ", qsDealNumber=" + qsDealNumber
				+ ", dealNum=" + dealNum + ", lendTag=" + lendTag + "]";
	}
	
	

}
